﻿<nempty name="Mo.Get.OpenId">
<div class="submenu1">新建回复：
<a onclick="ShowReply('{$Mo.Get.OpenId}','text');return false;"<eq name="Mo.Get.type" value="text"> class="current"</eq>>文本</a> |
<a onclick="ShowReply('{$Mo.Get.OpenId}','image');return false;"<eq name="Mo.Get.type" value="image"> class="current"</eq>>图片</a> |
<a onclick="ShowReply('{$Mo.Get.OpenId}','voice');return false;"<eq name="Mo.Get.type" value="voice"> class="current"</eq>>语音</a> |
<a onclick="ShowReply('{$Mo.Get.OpenId}','video');return false;"<eq name="Mo.Get.type" value="video"> class="current"</eq>>视频</a> |
<a onclick="ShowReply('{$Mo.Get.OpenId}','music');return false;"<eq name="Mo.Get.type" value="music"> class="current"</eq>>音乐</a> |
<a onclick="ShowReply('{$Mo.Get.OpenId}','news');return false;"<eq name="Mo.Get.type" value="news"> class="current"</eq>>图文</a> |
<a onclick="ShowReply('{$Mo.Get.OpenId}','mutinews');return false;"<eq name="Mo.Get.type" value="mutinews"> class="current"</eq>>多条图文</a>
</div>
<form action="?m=MessagesReply&a=sendmessage" method="post" name="frm_sendmessage">
<input type="hidden" name="OpenId" value="{$Mo.Get.OpenId}" />
<input type="hidden" name="All" value="{$Mo.Get.All}" />
<table width="550">
<switch name="Mo.Get.type">
	<case value="image" />
		<tr class="l"><td width="65">选择图片：</td><td>
		<select name="Mediaid">
			<loop name="Media">
			<option value="{$Media.MediaId}">{$Media.Name}</option>
			</loop>
		</select><input type="hidden" name="Type" value="image" /></td></tr>
	<case value="mutinews" />
		<tr class="l"><td width="65">选择新闻：</td><td>
		<select name="NewsId" multiple="multiple" size="8">
			<loop name="News">
			<option value="{$News.Id}">{$News.Name}</option>
			</loop>
		</select> 
		<input type="button" value="↑" onclick="MoveUp(this.form['NewsId']);" />
		<input type="button" value="↓" onclick="MoveDown(this.form['NewsId']);" />
		*可选多条<input type="hidden" name="Type" value="mutinews" /></td></tr>
	<case value="voice" />
		<tr class="l"><td width="65">选择语音：</td><td>
		<select name="Mediaid">
			<loop name="Media">
			<option value="{$Media.MediaId}">{$Media.Name}</option>
			</loop>
		</select><input type="hidden" name="Type" value="voice" /></td></tr>
	<case value="video" />
		<tr class="l"><td width="65">视频标题：</td><td><input name="Title" value="" type="text" /><input type="hidden" name="Type" value="video" /></td></tr>
		<tr class="l"><td width="65">选择视频：</td><td>
		<select name="Mediaid">
			<loop name="Media">
			<option value="{$Media.MediaId}">{$Media.Name}</option>
			</loop>
		</select></td></tr>
		<tr class="l"><td width="65">视频描述：</td><td><textarea name="Description" cols="60" rows="4"></textarea></td></tr>
	<case value="music" />
		<tr class="l"><td width="65">缩略图*：</td><td>
		<select name="Mediaid">
			<loop name="Media">
			<option value="{$Media.MediaId}">{$Media.Name}</option>
			</loop>
		</select><input type="hidden" name="Type" value="music" /></td></tr>
		<tr class="l"><td width="65">标题：</td><td><input name="Title" value="" type="text" class="width_400" /></td></tr>
		<tr class="l"><td width="65">音乐地址*：</td><td><input name="MusicUrl" value="" class="width_400" type="text" /></td></tr>
		<tr class="l"><td width="65">高清地址：</td><td><input name="HQMusicUrl" value="" class="width_400" type="text" /></td></tr>
		<tr class="l"><td width="65">描述：</td><td><textarea name="Description" cols="60" rows="2" class="width_400"></textarea></td></tr>
	<case value="news" />
		<tr class="l"><td width="65">标题*：</td><td><input name="Title" value="" type="text" class="width_400" /><input type="hidden" name="Type" value="news" /></td></tr>
		<tr class="l"><td width="65">内容*：</td><td><textarea name="Content" cols="60" rows="4" class="width_400"></textarea></td></tr>
		<tr class="l"><td width="65">URL：</td><td><input name="Url" value="" type="text" class="width_350" /> <input type="button" value="分析URL" onclick="ParseUrl(this.form['Url'].value);" /></td></tr>
		<tr class="l"><td width="65">图片URL：</td><td><input name="PicUrl" value="" type="text" class="width_400" /><div id="img_list_from_news"></div></td></tr>
	<default />
		<tr class="l"><td width="65">文本内容：</td><td><textarea id="message_intro" name="Content" cols="60" rows="4" class="width_400"></textarea><input type="hidden" name="Type" value="text" /></td></tr>
</switch>
</table>
</form>
</nempty>